Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods


ODObject

Superclasses
none
Subclasses
all OpenDoc classes

The ODObject class is the superclass of all OpenDoc classes; it defines features that all subclasses support, such as memory recovery and extensions.

Description

The ODObject class defines a general memory recovery system through the Purge method (page 443). It also defines an extension mechanism that allows subclasses to extend the functionality of objects. Subclasses are responsible for defining the extensions they support. For more information on extensions, see the ODExtension class description (page 212).

You should never instantiate ODObject; you can create an object of an ODObject subclass by calling the appropriate factory method, if a factory method exists.

Methods

This section presents summary descriptions of the ODObject methods grouped according to purpose, followed by detailed descriptions in alphabetical order.

Object Characteristics

IsEqualTo
Returns a Boolean value that indicates whether the specified object is equal to this object.
Extensions

AcquireExtension
Returns a reference to the specified extension object.
HasExtension
Returns a Boolean value that indicates whether the object supports the specified extension.
ReleaseExtension
Releases the specified extension object.
Memory Management

Purge
Releases any unneeded memory during low-memory situations.
Debugging

SubClassResponsibility
Raises an exception to indicate that a subclass failed to override a required method.

Methods
AcquireExtension
HasExtension
IsEqualTo
Purge
ReleaseExtension
SubClassResponsibility

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help